package com.example.common.model;

import java.io.Serializable;
/**
 * @Auther: JJun
 * @Date: 2018/9/3 09:56
 * @Description:
 */
public class User implements Serializable {

    private String username;

    private Integer id;

    private String password;

    private Integer attentionnum;

    private Integer fansnum;

    private Integer articlenum;

    private Integer wordsnum;

    private String name;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAttentionnum() {
        return attentionnum;
    }

    public void setAttentionnum(Integer attentionnum) {
        this.attentionnum = attentionnum;
    }

    public Integer getFansnum() {
        return fansnum;
    }

    public void setFansnum(Integer fansnum) {
        this.fansnum = fansnum;
    }

    public Integer getArticlenum() {
        return articlenum;
    }

    public void setArticlenum(Integer articlenum) {
        this.articlenum = articlenum;
    }

    public Integer getWordsnum() {
        return wordsnum;
    }

    public void setWordsnum(Integer wordsnum) {
        this.wordsnum = wordsnum;
    }

    public String getName() { return name; }

    public void setName(String name) { this.name = name; }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", id=" + id +
                ", password='" + password + '\'' +
                ", attentionnum=" + attentionnum +
                ", fansnum=" + fansnum +
                ", articlenum=" + articlenum +
                ", wordsnum=" + wordsnum +
                ", name='" + name + '\'' +
                '}';
    }
}
